{
	"info": {
		"_postman_id": "b31f64b8-be73-4d86-935f-8f2909ae104c",
		"name": "Toolkit",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "25545730"
	},
	"item": [
		{
			"name": "Conversation",
			"item": [
				{
					"name": "Chat Stream",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							},
							{
								"key": "Deployment-Name",
								"value": "Cohere Platform",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"message\": \"what is 1+1\",\n    \"tools\": [{\"name\": \"Calculator\"}]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/chat",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"chat"
							]
						}
					},
					"response": []
				},
				{
					"name": "Non streaming chat",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							},
							{
								"key": "Deployment-Name",
								"value": "Cohere Platform",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"message\": \"what is 1+1\",\n    \"tools\": [{\"name\": \"Calculator\"}]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/chat",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"chat"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get conversation",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{id} ",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{id} "
							]
						}
					},
					"response": []
				},
				{
					"name": "List conversations",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete conversation",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{id}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update conversation",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"description\": \"new description\",\n    \"title\": \"new title\",\n    \"user_id\": \"username\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{id}"
							]
						}
					},
					"response": []
				},
				{
					"name": "List Deployments",
					"request": {
						"method": "GET",
						"header": []
					},
					"response": []
				},
				{
					"name": "List Tools",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/tools",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"tools"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "User",
			"item": [
				{
					"name": "Create user",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"fullname\": \"username\",\n    \"email\": \"user@email.com\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/users",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"users"
							]
						}
					},
					"response": []
				},
				{
					"name": "List users",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/users?limit=10&offset=0",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"users"
							],
							"query": [
								{
									"key": "limit",
									"value": "10"
								},
								{
									"key": "offset",
									"value": "0"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Update user",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"fullname\": \"New name\",\n    \"email\": \"new-email@email.com\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/users/{id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"users",
								"{id}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get user",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/users/{id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"users",
								"{id}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete user",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/users/{id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"users",
								"{id}"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "File",
			"item": [
				{
					"name": "Create file",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "file",
									"type": "file",
									"src": "/Users/luisa/Downloads/Aya_dataset.pdf"
								}
							]
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{conv_id}/upload_file",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{conv_id}",
								"upload_file"
							]
						}
					},
					"response": []
				},
				{
					"name": "List files",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{conv_id}/files",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{conv_id}",
								"files"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update file",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"file_path\": \"new-path\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{conv_id}/files/{file_id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{conv_id}",
								"files",
								"{file_id}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete file",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "User-Id",
								"value": "user-id"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:8000/v1/conversations/{conv_id}/files/{file_id}",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"conversations",
								"{conv_id}",
								"files",
								"{file_id}"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Health",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:8000/v1/health",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8000",
					"path": [
						"health"
					]
				}
			},
			"response": []
		}
	]
}